package mk.gamemap.model
{
	import flash.events.IEventDispatcher;
	
	import game.tileMap.model.TileMapModel;
	
	import mx.events.DynamicEvent;
	import game.tileMap.model.vo.Character;
	
	public class Player extends Character
	{
		
		public function Player()
		{
			
			
			
		}
		
		override public function passable(X:int, Y:int):Boolean{
			var canPass:Boolean=map.passable(X,Y)
			
			
			return canPass     
		}
		
		override public function update():void{
			check_event_trigger_here(x,y);
		}
		
		public function  check_event_trigger_here(X:int, Y:int):Boolean{
						return false;
		}
		
		/*override public function check_event_trigger_touch(X:int, Y:int):Boolean{
			var result:Boolean
			var mapSp:MapSprite=map.getSp_xy(X,Y);
			if (mapSp!=null){
				trace(mapSp+"car事件接触执行！")
				//				for each(var evt:DoorEvt in mapModel.mapSprites){
				//					var evt:DoorEvt=new DoorEvt(mapSp);
				//				}
				//var evt:GEvent=eventDict[mapSp]
				//evt.start()
				return true
			}
			return false;
		}*/
		
	}
}